Carbon


StdPutPic

Header: Quickdraw.h Carbon status: Supported

QuickDraw’s standard low-level function for saving information as the definition of a picture.

void StdPutPic (
    const void *dataPtr, 
    SInt16 byteCount
);
Parameter descriptions
dataPtr

A pointer to the collected picture data.

byteCount

The size of the picture data.

DISCUSSION

The StdPutPic function saves as the definition of the currently open picture the drawing commands stored in the data structure pointed to by the dataPtr parameter, starting with the first byte and continuing for the next number of bytes as specified in the byteCount parameter.

You should only call this low-level function from your customized QuickDraw functions.

SPECIAL CONSIDERATIONS

The StdPutPic function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)